﻿using B.X.Rabbit.Domain.Autofac;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.X.Rabbit.Domain.养殖
{
    /// <summary>
    /// 养殖表
    /// </summary>
    public class Breeding:BaseFieId
    {
        /// <summary>
        /// 养殖Id
        /// </summary>
        [Key]
        public int BreedingId { get; set; }
        /// <summary>
        /// 养殖品种
        /// </summary>
        public string? Breed { get; set; }
        /// <summary>
        /// 养殖来源
        /// </summary>
        public string? Source { get; set; }
        /// <summary>
        /// 饲养天数
        /// </summary>
        public int FeedingDays { get; set; }
        /// <summary>
        /// 饲养品牌
        /// </summary>
        public string? BreedingBrand { get; set; }
        /// <summary>
        /// 饲养负责人
        /// </summary>
        public string? HeadFeeder { get; set; }
        /// <summary>
        /// 出栏日期
        /// </summary>
        public DateTime PublicationDate { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDeleted { get; set; } = false;
        /// <summary>
        /// 溯源信息Id
        /// </summary>
        public int TraceabilityId { get; set; }
    }
}
